.container {
  display: inline-flex;
  position: relative;
  align-items: center;
  width: 100%;
  border: var(--c-border) 1px solid;
  background: var(--c-background-secondary);
  color: var(--c-text);

  input {
    flex-grow: 1;
    border: none;
    background: none;
    color: var(--c-text);
    font-size: 0.8rem;
    padding: 0.2rem;
    height: 100%;
    width: 100%;

    &:focus {
      outline: none;
    }
  }
}

.clipboardButtonContainer {
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.clipboardButton {
  display: flex;
  padding: 0.4rem;
  border: none;
  background: var(--c-button-background);
  color: var(--c-text);
  cursor: pointer;

  &:hover {
    background: var(--c-button-background-hover)
  }

  &:active {
    background: var(--c-button-background-active);
  }
}

.copiedToast {
  position: absolute;
  justify-content: space-between;
  pointer-events: none;

  display: inline-block;
  text-align: center;
  font-size: 10px;
  color: var(--c-primary);
  border-radius: 0.4rem;
  z-index: 1;
}
